package service;

import model.User;

import java.sql.SQLException;
import java.util.ArrayList;

public interface UserService {

    User getUserByName(String username) throws SQLException;

    ArrayList<User> getAllUser();

    int addUser(User user);
}
